package com.amigo.online.common.param.dto.video;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class VideoDto {
	
	
	private String video;
	
	private String cover;
	
	@Digits(integer=10,fraction=0)
	private Integer duration;
	
	private String longitude;
	
	private String latitude;
	
	@Length(min = 0, max = 50)
	private String title;
	
	@Length(min = 0, max = 200)
	private String content;
	
	@Min(0)
	@Digits(integer=10,fraction=0)
	private Integer destroy;
	
	@NotNull
	@Min(0)
	@Digits(integer=10,fraction=0)
	private Integer width;
	
	@NotNull
	@Min(0)
	@Digits(integer=10,fraction=0)
	private Integer height;
	
	@Min(0)
	@Digits(integer=20,fraction=0)
	private Integer ads;
	
	private String musicId;//系统音频
	
	private String href;

	private String areaName;
	
	private Long areaId;	//地区ID
	
	/**
	 * 用户账户（占时解决水印的需要account的问题！）
	 */
	private String account;


	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public String getMusicId() {
		return musicId;
	}
	public void setMusicId(String musicId) {
		this.musicId = musicId;
	}
	public String getVideo() {
		return video;
	}
	public void setVideo(String video) {
		this.video = video;
	}
	public String getCover() {
		return cover;
	}
	public void setCover(String cover) {
		this.cover = cover;
	}
	public Integer getDuration() {
		return duration;
	}
	public void setDuration(Integer duration) {
		this.duration = duration;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getDestroy() {
		return destroy;
	}
	public void setDestroy(Integer destroy) {
		this.destroy = destroy;
	}
	public Integer getWidth() {
		return width;
	}
	public void setWidth(Integer width) {
		this.width = width;
	}
	public Integer getHeight() {
		return height;
	}
	public void setHeight(Integer height) {
		this.height = height;
	}
	public Integer getAds() {
		return ads;
	}
	public void setAds(Integer ads) {
		this.ads = ads;
	}
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public Long getAreaId() {
		return areaId;
	}
	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	
	
		
}
